<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
			$(function(){
				$("#btn").click(function(){
					if($("#pic").is(":hidden")){
						$("#pic").show(4000);
						return;
					}
					$("#pic").hide(3000,function(){
						alert("图片不加拿了");
					});
				});
			});
		</script>
	</head>
	<body>
		<div id="pic">
			<img src="../day6/banner.png"/>
		</div>
		<input type="button" value="hide" id="btn"/>
	</body>
</html>
